using System;
using System.Threading.Tasks;
using Acme.BookStore.StockManagement.Dtos.HuoPinPiCiGuanLian;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.StockManagement.Services
{
    /// <summary>
    /// 货品批次关联应用服务接口
    /// </summary>
    public interface IHuoPinPiCiGuanLianAppService : IApplicationService
    {
        /// <summary>
        /// 获取货品批次关联分页列表
        /// </summary>
        /// <param name="input">查询条件</param>
        /// <returns>分页结果</returns>
        Task<PagedResultDto<HuoPinPiCiGuanLianDto>> GetListAsync(HuoPinPiCiGuanLianGetListInputDto input);

        /// <summary>
        /// 获取货品批次关联详情
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <returns>货品批次关联</returns>
        Task<HuoPinPiCiGuanLianDto> GetAsync(int id);

        /// <summary>
        /// 创建货品批次关联
        /// </summary>
        /// <param name="input">货品批次关联</param>
        /// <returns>创建后的货品批次关联</returns>
        Task<HuoPinPiCiGuanLianDto> CreateAsync(HuoPinPiCiGuanLianDto input);

        /// <summary>
        /// 更新货品批次关联
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <param name="input">货品批次关联</param>
        /// <returns>更新后的货品批次关联</returns>
        Task<HuoPinPiCiGuanLianDto> UpdateAsync(int id, HuoPinPiCiGuanLianDto input);

        /// <summary>
        /// 删除货品批次关联
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <returns></returns>
        Task DeleteAsync(int id);
    }
} 